package com.china.lottery.listener.dao.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SysLottery entity. @author tq
 */
@Entity
@Table(name = "SYS_LOTTERY")
public class SysLottery implements java.io.Serializable {

    private static final long serialVersionUID = 1L;
	private int id;
    private int isHoardTickets;
    private Date startTime;
    private Date endTime;
    private int isTelephoneTickes;
    private Date telephoneStartTime;
    private Date telephoneEndTime;
    
    @Id
    @Column(name = "ID")
    public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Column(name = "IS_HOARD_TICKETS")
	public int getIsHoardTickets() {
		return isHoardTickets;
	}

	public void setIsHoardTickets(int isHoardTickets) {
		this.isHoardTickets = isHoardTickets;
	}
	
	@Column(name = "START_TIME")
	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	
	@Column(name = "END_TIME")
	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	@Column(name = "IS_TELEPHONE_TICKES")
	public int getIsTelephoneTickes() {
		return isTelephoneTickes;
	}

	public void setIsTelephoneTickes(int isTelephoneTickes) {
		this.isTelephoneTickes = isTelephoneTickes;
	}

	@Column(name = "TELEPHONE_START_TIME")
	public Date getTelephoneStartTime() {
		return telephoneStartTime;
	}

	public void setTelephoneStartTime(Date telephoneStartTime) {
		this.telephoneStartTime = telephoneStartTime;
	}

	@Column(name = "TELEPHONE_END_TIME")
	public Date getTelephoneEndTime() {
		return telephoneEndTime;
	}

	public void setTelephoneEndTime(Date telephoneEndTime) {
		this.telephoneEndTime = telephoneEndTime;
	}
	
	
}